<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:c="http://xmlns.jcp.org/jsf/composite"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<title>ST Manager</title>
	<link href="imagem/favicon.png" type="image/png" rel="shortcut icon" />
	<link type="text/css" rel="stylesheet"
		href="#{request.contextPath}/css/skytef.css" />
</h:head>
<h:body>
	<ui:include src="header.xhtml" />
	<div class="central">
		<h:form id="import" enctype="multipart/form-data">
			<p:panel
				header="Importar planilhas internas (Financeiro e Administrativo)">
				<p:messages showDetail="true" />
				<p:fileUpload label="Arquivo" auto="true"
					fileUploadListener="#{ClienteBean.doUpload}" onstart="bui.show()"
					oncomplete="bui.hide()" />
			</p:panel>
			<p:messages severity="info" escape="false" showDetail="true"
				autoUpdate="true" closable="true" />
		</h:form>
		<p:blockUI widgetVar="bui" block="import" trigger="import">
			<p:graphicImage value="../imagem/loading.gif" />
			<br />
			<h:outputText value="Enviando arquivo, por favor aguarde..."
				style="font:bold 1.1em Arial" />
		</p:blockUI>
	</div>

	<div>
		<p:panel id="cm" style="background: transparent; border: 0px;">
			<ui:include src="#{DashboardBean.currentMenu}" />
		</p:panel>
	</div>
	<div
		style="position: absolute; margin-top: 37%; right: -25px; margin-right: 50%">
		<p:panel id="cr" style="background: transparent; border: 0px; ">
			<p:outputLabel styleClass="rodape"
				value="© 2002-2013 Skytef - Todos os direitos reservados"
				style="font-size: xx-small; width: 300px" />
		</p:panel>
	</div>
</h:body>
</html>
